package cn.damai.search.baseService;

import cn.damai.model.ItemComment;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface BaseItemCommentService {
    
    ItemComment getItemCommentById(@RequestParam("id") Long id);
    
    List<ItemComment> getItemCommentListByMap(@RequestParam Map<String, Object> param);
    
    Integer getItemCommentCountByMap(@RequestParam Map<String, Object> param);
    
    Integer qdtxAddItemComment(@RequestBody ItemComment ItemComment);
    
    Integer qdtxModifyItemComment(@RequestBody ItemComment ItemComment);
}
